﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace App.Views.ViewModels
{
    public class RegistrationInfoViewModel{
    
        [Required(ErrorMessage="*")]
        [DisplayName("死者编号")]
        public string DeadNO{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("姓名")]
        public string DeadName{get;set;}     
   
        [DisplayName("身份证号")]
        public string DeadIDCard{get;set;}  
      
        [DisplayName("性别")]
        public string DeadSex {get;set;}    
    
        [DisplayName("年龄")]
        public short? DeadAge {get;set;}    
    
        [DisplayName("民族")]
        public string DeadNation{get;set;}

        [DisplayName("所在县(市)")]
        public string DeadCity { get; set; }

        [DisplayName("家庭住址")]
        public string Residence{get;set;}

        [DisplayName("下葬方式")]
        public string BurialMode { get; set; }

        [DisplayName("死亡日期")]
        public DateTime? DeadTime{get;set;}

        [DisplayName("死亡地点")]
        public string DeadPlace{get;set;}

        [DisplayName("死亡原因")]
        public string DeadReason{get;set;}

        [DisplayName("生前单位")]
        public string WorkUnit{get;set;}

        [DisplayName("职务")]
        public string LifetimeJob{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("姓名")]
        public string FamilyName{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("身份证号")]
        public string FamilyIDCard{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("联系电话")]
        public string FamilyPhone{get;set;}    
   
        [DisplayName("与死者关系")]
        public string FamilyRelationship{get;set;}

        [DisplayName("联系地址")]
        public string FamilyAddress{get;set;}      
  
        [DisplayName("邮编")]
        public string FamilyPostcode{get;set;}

        [DisplayName("附件1")]
        public string Appendix1{get;set;}
        [DisplayName("附件2")]
        public string Appendix2{get;set;}
        [DisplayName("附件3")]
        public string Appendix3{get;set;}
        [DisplayName("附件4")]
        public string Appendix4{get;set;}

    }
}